package com.yuan.system.api.client;

import cn.common.constant.ServiceNameConstants;
import com.yuan.system.api.config.FeignConfig;


import com.yuan.system.api.factory.TaskFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "TaskClient",name = ServiceNameConstants.MEMBER_SERVICE,path = "/member",configuration = FeignConfig.class,fallbackFactory= TaskFallbackFactory.class)
public interface TaskClient {
    @GetMapping("/list")
     String list();
}
